<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Impresion</title>
        <script> 
            function cerrar() {
                window.open('', '_self', ''); 
                window.close(); 
                
            }       
            
        </script>
    </h:head>    
    <h:body onload="window.setTimeout('cerrar();', 3000);">       
        <script type="text/javascript" src="#{request.contextPath}/recursos/js/deployJava.js"/> 
        <script>
            var attributes = {codebase:'./',
                code:'com.nys.conci.citas.AppletImpresion.class',
                archive:'JavaApplet.jar',
                width:100, height:100} ;
            var parameters = {pFecha:'#{param['pFecha']}', pHora:'#{param['pHora']}', pCliente:'#{param['pCliente']}', pCedula:'#{param['pCedula']}', pMonto:'#{param['pMonto']}', pMoneda:'#{param['pMoneda']}', pConcepto:'#{param['pConcepto']}', pTipo:'#{param['pTipo']}'} ;                  
            var version = '1.4' ;
            deployJava.runApplet(attributes, parameters, version);    
        </script>
    </h:body>
</html>